package mrh.niubi.librarysystem.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import mrh.niubi.librarysystem.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {


    List<Order> getOrdersByUsername(@Param("username") String username);

    List<Order> selectOrdersByQueryinf(@Param("inf")String inf,@Param("username") String username);

}
